/* 头尾各个页面相同的样式 */
/* 版心 */
.wrapper {
    width: 1240px;
    margin: 0 auto;
}
/* 快捷导航 */
.shortcut {
    background-color: #333333;
    height: 52px;
}

.shortcut .wrapper {
    height: 52px;
    display: flex;
    justify-content: flex-end;
}

.shortcut .wrapper ul {
    display: flex;
}

.shortcut .wrapper ul li a {
    line-height: 52px;
    font-size: 16px;

    padding: 0 15px;
    border-right: solid 1px #999999;
    color: #FFFFFF;
}

.shortcut .wrapper ul li:last-child a {
    border-right: none;
}

.shortcut .wrapper .icon-mobile-phone {
    font-size: 18px;
    vertical-align: middle;
    margin-right: 4px;
}

.shortcut .wrapper .login {
    color: #5EB69C;
}

/* 网站头部区域 */
.header {
    margin-top: 22px;
    height: 88px;
    display: flex;
}

/* logo */
.logo a {
    display: block;
    font-size: 0;
    width: 200px;
    height: 88px;
    background-image: url(../images/logo.png);
    margin-right: 40px;
}

.nav {
    padding-top: 33px;
    margin-right: 27px;
}

.nav ul {
    display: flex;
}

.nav ul li {
    margin-right: 48px;
}

.nav ul li a {
    padding-bottom: 10px;

}

.nav ul li a:hover {
    color: #5EB69C;
    border-bottom: 2px #5EB69C solid;
}

/* 搜索 */
.search {
    height: 62px;
    display: flex;
    width: 170px;
    padding-top: 33px;
    border-bottom: solid 2px #F4F4F4;
}

.search .icon-search {
    color: #CCCCCC;
    font-size: 18px;
}

.search .input {
    height: 22px;
    /*
        浏览器优先生效 input 标签的默认宽度，所以 fles：1不生效
        解决办法：重置 input 默认宽度 -> width：0
     */
    width: 0;
    flex: 1
}

/* 购物车 */
.cat {
    margin-left: 45px;
    padding-top: 32px;
    position: relative;
}

.cat .icon-cart-full {
    font-size: 22px;

}

.cat i {
    position: absolute;

    display: block;
    background-color: #E26237;
    color: #FFFEFE;
    border-radius: 8px;
    font-size: 14px;
    /*
        推荐用左对齐，这样文本会向右撑开
     */
    left: 12px;
    padding: 0 6px;
    top: 30px;
    line-height: 15px;
    height: 15px;
}

/* 脚部分 */
.footer {
    background-color: #F5F5F5;
}

.footer .service {
    padding: 60px 0;

}

.service ul {
    display: flex;
    justify-content: space-around;
}

.service ul li {
    display: flex;
    align-items: center;
}

.service ul li h5 {
    margin-right: 20px;
    vertical-align: middle;
    width: 58px;
    height: 58px;
    background-image: url(../images/sprite.png);
}

.service ul a {
    color: #333333;
    font-size: 28px;
    font-family: PingFangSC-Regular, serif;
}

.service li:nth-child(2) h5 {
    background-position: 0 -58px;
}

.service li:nth-child(3) h5 {
    background-position: 0 -116px;
}

.service li:nth-child(4) h5 {
    background-position: 0 -174px;
}

.footer .content hr {
    border: none;
    height: 2px;
    background-color: #E8E8E8;
}

.footer .content .ok {
    margin-top: 60px;
}

.footer .content .left {
    display: flex;
}

.footer .content .left dl {
    margin-right: 84px;
}

.footer .content .left dl dt {
    color: #333333;
    font-size: 18px;
    margin-bottom: 30px;
}

.footer .content .left dl dd {
    font-size: 16px;
    margin-bottom: 10px;
}

.footer .content .left dl dd a {
    color: #9e9e9e
}

.footer .icon-customer-service {
    color: #488e81;
}

.footer .content .ok {
    display: flex;

}

.footer .content .ok .right {
    flex: 1;

}

.footer .content .ok .right ul {
    display: flex;
    justify-content: space-between;
}

.footer .content .ok .right ul p {
    color: #969696;
    margin-top: 10px;
}


.footer .content .ok .right ul li {
    display: flex;
    flex-direction: column;
    align-items: center;

}
/* 版权 */
.ko {
    margin-top: 90px;
    text-align: center;
}

.ko p {
    margin-bottom: 10px;
    color: #A1A1A1;
}

.ko p a {
    margin: 0 10px;
    color: #A1A1A1;
}
